package com.ems.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 报警/故障
 * </p>
 * @author WuZH
 * @since 2023-10-24
 */
@Data
@ApiModel (value = "AlarmEntity对象", description = "报警/故障")
public class AlarmVo extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("报警Id")
    private String id;

    @ApiModelProperty ("故障名称，来自于故障数据")
    private String alarmTitle;

    @ApiModelProperty ("故障状态，默认新增为故障运行中，待维保人员修复后手动更改默认1，产生故障 0，故障已解决")
    private Integer status;

    @ApiModelProperty ("故障类型")
    private String alarmType;

    @ApiModelProperty ("警告级别")
    private String alarmLevel;

    @ApiModelProperty ("报警设备类型 1、BMS 2、PCS")
    private Integer type;

    @ApiModelProperty ("子设备地址")
    private String deviceAddress;

    @ApiModelProperty ("所属电站")
    private String stationId;

    private Date createTime;

    private Date changeTime;

    private Integer isUsed;

}
